//
//  AXFAutoresizeLabelFlowLayout.h
//  AXFAutoresizeLabelFlow
//
//  Created by ooops on 12/26/16.
//  Copyright © 2016 ya. All rights reserved.
//

#import <UIKit/UIKit.h>

//@protocol AXFAutoresizeLabelFlowLayoutDelegate <NSObject>
//
//@optional
//
//- (void)layoutFinishWithNumberOfline:(NSInteger)number;
//
//@end

@protocol AXFAutoresizeLabelFlowLayoutDataSource <NSObject>

- (NSString *)titleForLabelAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface AXFAutoresizeLabelFlowLayout : UICollectionViewFlowLayout

@property (nonatomic,weak) id <AXFAutoresizeLabelFlowLayoutDataSource> dataSource;
//@property (nonatomic,weak) id <AXFAutoresizeLabelFlowLayoutDelegate> delegate;

@end
